﻿<div id="searchHistory">
    <h2>Search history:
    </h2>
    <ul data-bind="foreach: results()">
        <li data-bind="click: click">
            <div data-bind="text: 'Created at: ' + creationTime">
            </div>
            <div data-bind="text: 'Source: ' + source">
            </div>
            <div data-bind="text: 'Destination: ' + destination">
            </div>
            <div data-bind="text: 'Departure: ' + departure">
            </div>
            <div data-bind="text: 'Max Cost: ' + maxCost + '$'">
            </div>
        </li>
    </ul>
</div>
